﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DanhSachSanPham.aspx.cs"
    Inherits="SacMauVN.DanhSachSanPham" MasterPageFile="~/Site1.Master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
    <div class="product-xn-center product-center resetall">
        <h3 class="h3-product">
            Danh Sách Sản Phẩm</h3>
        <p class="p-product">
            Lưu ý : Bán đúng giá trên website
        </p>
        <div class="toolsRow _rounded">
        </div>
        <div class="product-pp">
            <asp:Repeater ID="rptListProduct" runat="server">
                <ItemTemplate>
                    <div class="product ">
                        <a title='<%#Eval("Ten") %>' href='<%#"ChiTietSanPham.aspx?pID="+Eval("ID") %>'>
                            <h4>
                                <img width="81" height="86" alt='<%#Eval("Ten") %>' src='<%#Eval("Image") %>'>
                            </h4>
                            <p class="p-product2">
                                <%#Eval("Ten") %>
                            </p>
                            <p style="font-weight: bold; color: #000000">
                                Mã SP:
                                <%#Eval("Ma") %>
                            </p>
                            <p class="p-product3">
                                Giá KM:
                            <%#Convert.ToDouble(Eval("GiaKM")).ToString("###,### VNĐ") %><br />
                            Giá TT:
                            <%#Convert.ToDouble(Eval("GiaTien")).ToString("###,### VNĐ") %>
                            </p>
                        </a>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
